package com.joker.storehelper.client.android.storage;

import com.google.common.base.Strings;

import java.io.Serializable;

import lombok.Data;

/**
 * Created by Administrator on 2018/1/5.
 */

@Data
public class Brand implements Serializable{
    private Long id;

    private String englishName;
    private String chineseName;

    public String getName(){
        if(Strings.isNullOrEmpty(chineseName)){
            return englishName;
        }
        return englishName+"/"+chineseName;
    }
}
